package com.qys.livesMall.open.modal.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class H2AppOpenPushDTO implements Serializable {

    static final long serialVersionUID = 1L;

    @Schema(description = "主键 有做更新，没有做新增")
    private Long id;

    @Schema(description = "通知类型")
    @NotNull
    private String type;

    @Schema(description = "通知开关 0 通知 1 不通知")
    @NotNull
    private Integer state;

    @Schema(description = "用户ID")
    @NotNull
    private Long userId;
}
